<template>
  <view>
    <view v-if="data.routeKey==='visitor'">
      <u-row gutter="16">
        <u-col span="12">
          <view>访客姓名：{{data.formData.intervieweeName}}({{data.formData.visitorSexName}})</view>
          <view>访客电话：{{data.formData.visitorPhone}}</view>
          <view>来访时间：{{data.formData.startTime}}</view>
          <view>结束时间：{{data.formData.endTime}}</view>
          <view>进入校区：{{data.formData.enterCampusName}}</view>
          <view>事由：{{data.formData.enterReason}}</view>
        </u-col>
      </u-row>
    </view>
    <view v-else-if="data.routeKey==='scrmgroup'">
      <u-row gutter="16">
        <u-col span="12">
          <view>发起人：{{data.startUserName}}</view>
          <view>群名称：{{data.formData.name}}</view>
          <view>群类型：{{data.formData.natureTypeName}}</view>
          <view>建群理由：{{data.formData.remark}}</view>
        </u-col>
      </u-row>
    </view>
    <view v-else>
      <u-row gutter="16">
        <u-col span="12">
          标题：{{data.title}}</br>
          发起人：{{data.startUserName}}</br>
          当前环节：{{data.taskName!==''?data.taskName:'--'}}</br>
          办理人：{{data.assigneeName!==''?data.assigneeName:'--'}}
        </u-col>
      </u-row>
    </view>
  </view>
</template>

<script>
  export default {
    name: 'FlowListItem',
    props: {
      data: {
        type: Object,
        default: () => {}
      },
    },
    computed: {

    },
    data() {
      return {

      };
    },
    created() {

    },
    methods: {

    }
  };
</script>